Skip to content

Fix to the official build (API Compat tool) - #3667

Merged
artidoro merged 1 commit into
dotnet:masterfrom
artidoro:apicompatfix
May 6, 2019
Merged

Fix to the official build (API Compat tool)#3667
artidoro merged 1 commit into
dotnet:masterfrom
artidoro:apicompatfix

Conversation

@artidoro

@artidoro artidoro commented May 6, 2019

Copy link
Copy Markdown
Contributor

PR #3623 breaks the official build because the .Net Core 2.1 runtime is not found.
We have it locally in the tools directory, so a solution is to make it point to that local installation of the runtime.

Fixes #3666.

@artidoro artidoro added the Build Build related issue label May 6, 2019
@artidoro
artidoro requested review from codemzs, eerhardt and ericstj May 6, 2019 17:41
@artidoro artidoro self-assigned this May 6, 2019
Comment thread src/Directory.Build.props
<!-- API Compat -->
<PropertyGroup>
<RunApiCompat Condition="'$(RunApiCompat)' == ''">$(IsStableProject)</RunApiCompat>
<ToolHostCmd Condition="'$(OS)' != 'Windows_NT'">$(ToolsDir)dotnetcli/dotnet</ToolHostCmd>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's interesting. So we were assuming that if it was windows, then we wouldn't need to use the tools directory. Fun stuff. 😄

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, on the CI windows machines most likely it was installed by default, but not on the official build machines.

@TomFinley TomFinley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @artidoro .

@codemzs codemzs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codecov

codecov Bot commented May 6, 2019

Copy link
Copy Markdown

Codecov Report

Merging #3667 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3667      +/-   ##
==========================================
- Coverage   72.78%   72.68%   -0.11%     
==========================================
  Files         808      805       -3     
  Lines      145588   145533      -55     
  Branches    16250    16250              
==========================================
- Hits       105964   105776     -188     
- Misses      35202    35335     +133     
  Partials     4422     4422
Flag Coverage Δ
#Debug 72.68% <ø> (-0.11%) ⬇️
#production 68.15% <ø> (-0.14%) ⬇️
#test 89.03% <ø> (ø) ⬆️
Impacted Files Coverage Δ
....ML.OnnxTransformer/DnnImageFeaturizerTransform.cs 0% <0%> (-95.24%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxCatalog.cs 50% <0%> (-50%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxTransform.cs 66.44% <0%> (-19.8%) ⬇️
src/Microsoft.ML.OnnxTransformer/OnnxUtils.cs 67.01% <0%> (-10.31%) ⬇️
...soft.ML.Data/DataView/DataViewConstructionUtils.cs 78.63% <0%> (-6.65%) ⬇️
src/Microsoft.ML.Data/Transforms/ColumnCopying.cs 83.49% <0%> (-1.95%) ⬇️
src/Microsoft.ML.Maml/MAML.cs 24.75% <0%> (-1.46%) ⬇️
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 86.1% <0%> (-0.16%) ⬇️
...OnnxTransformer.StaticPipe/OnnxStaticExtensions.cs
...L.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs
... and 2 more

@artidoro
artidoro merged commit baffd60 into dotnet:master May 6, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Build Build related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Official build failure due to the API Compat tool PR

4 participants